﻿<%@ Page Title="密码重置" Language="C#" MasterPageFile="~/HealthCommunity.Master" AutoEventWireup="true" CodeBehind="PasswordReset.aspx.cs" Inherits="HealthCommunity.PasswordReset" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<div class="contenttitle">
		<h2>
			密码重置</h2>
	</div>
	<div id="pwdresetcontainer">
		<table class="detail">
			<tr>
				<td>
					密码提示问题1:
				</td>
				<td>
					<asp:TextBox ID="txtSecretQuestion1" runat="server" MaxLength="256" Width="177px"></asp:TextBox>
				</td>
			</tr>
			<tr>
				<td>
					密码提示答案1:
				</td>
				<td>
					<asp:TextBox ID="txtSecretAnswer1" runat="server" MaxLength="256" Width="177px"></asp:TextBox>
				</td>
			</tr>
			<tr>
				<td>
					密码提示问题2:
				</td>
				<td>
					<asp:TextBox ID="txtSecretQuestion2" runat="server" MaxLength="256" Width="177px"></asp:TextBox>
				</td>
			</tr>
			<tr>
				<td>
					密码提示答案2:
				</td>
				<td>
					<asp:TextBox ID="txtSecretAnswer2" runat="server" MaxLength="256" Width="177px"></asp:TextBox>
				</td>
			</tr>
			<tr>
				<td>
					旧密码:
				</td>
				<td>
					<asp:TextBox ID="txtOldPwd" runat="server" MaxLength="48" TextMode="Password"></asp:TextBox>
				</td>
			</tr>
			<tr>
				<td>
					新密码:
				</td>
				<td>
					<asp:TextBox ID="txtNewPwd" runat="server" MaxLength="48" TextMode="Password"></asp:TextBox>
				</td>
			</tr>
			<tr>
				<td>
					确认密码:
				</td>
				<td>
					<asp:TextBox ID="txtRePwd" runat="server" MaxLength="48" TextMode="Password"></asp:TextBox>
				</td>
			</tr>
		</table>
		<div>
			<asp:RequiredFieldValidator ID="rfvNewPwd" runat="server" ErrorMessage="新密码不能为空" ValidationGroup="pwd" ControlToValidate="txtNewPwd" ForeColor="Red"></asp:RequiredFieldValidator>
			<asp:CompareValidator ID="cvPwd" runat="server" ErrorMessage="确认密码与新密码不一致" ValidationGroup="pwd" ForeColor="Red" ControlToValidate="txtNewPwd" ControlToCompare="txtRePwd"></asp:CompareValidator>
		</div>
		<div>
			<asp:Literal ID="ltrMsg" runat="server"></asp:Literal>
		</div>
		<div>
			<asp:Button ID="btnSave" runat="server" Text="保 存" CssClass="submitbutton" Width="120" ValidationGroup="pwd" OnClick="btnSave_Click" />
		</div>
	</div>
</asp:Content>
